package com.six.portals.controller;

import javax.annotation.Resource;

import com.six.portals.service.HiService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HiController {
	
	@Resource
	private HiService hiService;
	
	@GetMapping("/hi")
	public String hi(){
		return hiService.hi();
	}
}
